# -*- coding: utf-8 -*-
# @Time : 2019/1/10 17:16
# @Author : Administrator
# @File : login.py
# @Project : code
# @title : 登录
import requests
class TestLogin():
    def login_test(self,username,password,verifycode,expect):
        data_login={"userName":username,"userPass":password,"checkcode":verifycode}
        r=requests.post(url="http://192.168.2.155:8080/WoniuBoss2.5/log/userLogin",
                        data=data_login)
        # print(r.text)
        # assert expect in r.text
        return r